/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package OLD;

import OLD.*;
import com.sun.lwuit.List;
import com.sun.lwuit.events.ActionListener;
import com.sun.lwuit.plaf.Style;

/**
 *
 * @author eoinsavage
 */
public class ItinSat extends Menu{

    public ItinSat(ActionListener a){

        super("Saturday","paper.jpg",a);

        //add a list
        String[] items = {//"8:00 - Check out of hostel",
        //"9:30 - Arrive at Dublin Airport",
        //"12:00 - Get flight home!!,"
        "12:00 - Take historic walking tour of Dublin.",
        "16:00 - Visit Merrion Square",
        "17:00 - Explore the city.",
        "21:00 - Enjoy the trad scene in Temple Bar."};
        
        List todo = new List(items);

        Style style = todo.getStyle();
        style.setBgColor(0xaa00ff);
        style.setFgColor(0xffffff);
        todo.setStyle(style);
        todo.setSelectedStyle(style);
        todo.setIsScrollVisible(true);
        todo.setUIID("£todo");//Name list so it can be found - always place £ before name
        todo.setFocusPainted(false);
        this.addList(todo);
        this.setLayoutType(2);

        //add a button
        addButton("Itinerary","Itinerary","itinerary",color.Black);//to return to main menu


        }

}